package com.cet.designapplication.mediator;

/**
 * @author NSOC
 */
public abstract class AbstractCustomer {

    public AbstractMediator mediator;

    public String orderId;

    private final String customerName;

    public AbstractCustomer(String orderId, AbstractMediator mediator, String customerName) {
        this.mediator = mediator;
        this.orderId = orderId;
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public abstract void messageTransfer(String orderId, String targetCustomer, String payResult);
}
